﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace PES_TurnierManager
{
    /// <summary>
    /// Interaktionslogik für "App.xaml"
    /// </summary>
    public partial class App : Application
    {
        private Model.Model mModel;
        private Controller.ITournamentController mController;
        private Window1 mMainWindow;

        public App()
        {
            mModel = new PES_TurnierManager.Model.Model();
            mController = new Controller.PESTournametController();
            mController.setModel(mModel);
            mMainWindow = new Window1();
            mMainWindow.setController(mController);
            mMainWindow.setModel(mModel);
            mMainWindow.Show();
        }
    }
}
